#include "../include/PageLib.hpp"
#include "../include/RssReader.hpp"

namespace wd
{

PageLib::PageLib(DirScanner& dirScanner, RssReader& rssReader)
: _dirScanner(dirScanner)
, _rssReader(rssReader)
{}

void PageLib::store(const string& ripePage_dir, const string& offset_dir)
{
   _rssReader.dump(ripePage_dir, offset_dir, _pagelibs, _offsetLib);
}



}//end of namespace hy
